package com.supreme.common.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@NoArgsConstructor
@Data
public class OmsUser implements Serializable {

    @JsonProperty("createBy")
    private String createBy;

    @JsonProperty("createTime")
    private Date createTime;

    @JsonProperty("updateTime")
    private Date updateTime;

    @JsonProperty("remark")
    private Object remark;

    @JsonProperty("userId")
    private Integer userId;

    @JsonProperty("deptId")
    private Integer deptId;

    @JsonProperty("userName")
    private String userName;

    @JsonProperty("nickName")
    private String nickName;

    @JsonProperty("email")
    private String email;

    @JsonProperty("phonenumber")
    private String phonenumber;

    @JsonProperty("sex")
    private String sex;

    @JsonProperty("avatar")
    private String avatar;

    @JsonProperty("status")
    private String status;

    @JsonProperty("delFlag")
    private String delFlag;

    @JsonProperty("loginIp")
    private String loginIp;

    @JsonProperty("loginDate")
    private Date loginDate;

    @JsonProperty("admin")
    private Boolean admin;
}
